New GUI

Hope this fixes wrong desc. of last commit. Oops. Capitalized parts of debug mode.