moved GlobalOptionsPanel code into its own class