Organizing stuff.
Cleanup, and adding diagnostic info to the UI.
Also, fixed the text flickering issue with the readouts.