Resolves #288 frame buffer swap bug
Resolves gui flashing and a number of other major bugs resulting from the refactor. Also resolved issues that prevented a clear shutdown of GUI and reconstruct. Finally, improve frameset resilience to overflows and bad frames.