Added close method to save log upon exit
Removed System.out.println() usage and replaced with gui.addLogLine()
Added create gui function; Replaced all System.out.println() with
gui.addLogLine()
Changed log location