Implemented a basic menu system.