Fixed a bug in the log. Added more buttons to the GUI.