Namespaces and menubutton work

Fixed misuse of jquery.ui namespaces. Added early work on menus.