Fixed small issues

Fixed a bug where if the text for a menu item started with - then it
would auto be disabled.
addSubmenuItem now has default values for accelerator and checkGroup so
you don't have to pass them every time.