Added commands and menu items to enable and disable results panel.
Also fixed StructureHandler problems with Java 6