Refactored Event system
Fixed error caused by pissing pch.h
Fixed duplicate events in event system

hacked for the time being - need to locate the source of duplicates
rather than simply preventing them.
Emergency Commit

Cannot debug problem with event system. Scrapping the EventSystem and
rewriting.
Rewrote EventSystem

Bug is still there - new event system should be logically sound. Need to
trace problem elsewhere.
Event system works!

Wasn't checking for duplicates in the actual event pool.
Merge remote-tracking branch 'origin/event-refactoring'