Added gh-pages as ignored directory
Added documentation and improved events
Fixed many errors with removing listeners