include event handling in main loop
gitignore update