made resource system add colour keying and image converting
added pausing support
improved context resetting
added event infrastructure and basic player physics
made player rotate again :)