added singleton instance, sty;ling for menus, various bugs