MODIFIED: pause button, some code tweaks, splash "screen", event handling fixes.