GUI changes, CANCEL msg handler, debug lines added (to be removed eventually)