L9 now with mouse events
L10 checking key states
L12 - counting milliseconds