Remove dock icon and menubar.
Use the button property of NSStatusItem
Support for 10.9