Pipelining GUI now in place. Button to switch back and forth between modes now active. Event handling now needs adding.