* made several fixes to mainscene