Adding debug.log to allow functionality of GUI since issue #25 update of error logging system.