Bug fixes and button system for menu added.