Fix coding style issues
Add preparation for menubar buttons
Split LuaApi from menu engine
Fix crash due to too much simplification
Really show menubar buttons
Add mainmenu lua documentation