Free up Alt+G shortcut on Mac OS family. Fix compiler error for a test
and use PlatformUI.getWorkbench() instead of internal workbench