Remove trailing whitespaces
Adds .gitignore
Removes registration for an unexisting chat_page_setup event handler