SetMenuBar(null) when closing frames. Prevents a bug in JVMs post 1.4