Commented a lot, introduced InputListener and fullscreen support. Some
corrections.