Added the keyboard input device.
Made the overworld scene set the keyboard input device when active.
Made the frame number static, so it could be accessed from anywhere.