Changed method of switching between states and outputs; listbox list is reconfigured instead of overlapping canvases - reduces cut&paste code.
Other cosmetic changes including menu hotkeys.