rewrite user menu and app menu.
added help button.
some bug fixes