Added code to remove listeners when project closes to avoid throwing errors
Merge pull request #10 from MichaelHilton/FixBugThatCrashesWhenCloses

Fix bug that crashes when closes