Add NSStatusItems to the view hierarchy on Mac. Fixes #11
Fix a memory leak.