Added a gui log-display and made some commenting changes