Core Event Handling

Clicking and Key Events aswell as updating and rendering.