Adde JMenuBar support and made it mac adjusted.