Fixed rendering only occuring when a event happened, added .gitignore