Working Merge of GUI fragments

Added mode toggle buttons, testing plot readout