Committing a mostly-working version of the updated ui
Re-named the new session stuff to the original names
The ui is now an instance of a class, rather than a static class. This cleans up some code, and also resolves some ugly circular dependencies between the different Ui classes
Minor cleanups and fixing some warnings
Fixed the 'kill' command
Clean up the attach_session code to avoid doing a wakeup when it isn't needed
Removed some debugging code
Removed the 'exit' command and made it an alias of 'quit', since they do the same thing