Added basic menu and arrow-key functionality (just threw in some or operators).