Removed pragma from EventHandler.
Event handler updated to using std::function. This allows for adding member functions and lambdas.