Changed method names in the EventState class to conform to coding style.

Also to make them generally more attractive.
Adapted the engine to work with the new State event system. (the EventState class)