added timer and file callbacks and global mainloop and quit fns
1 file changed