Added some methods for event-handling, Renderer support and Scancode retrieval.

Note that `createWindowAndRenderer` differs slightly from the original method, because a window configuration that contains width and height gets passed in anyway and thus there's no apparent need for extra parameters.
Yea - somewhere else in the code we have the ability to say "give me anything" or "give me exactly *this*", where *this* comes from enumerating all possibilities and choosing one.