Graphing output

Finished the graphing output
Cleaned up the UI (while probably making the code dirtier)