Removed and added functions

I removed a lot of functions and unused lines/code. I plan on fixing the broken session saver and restorer. I also made the most useful command of this extension a little more useful.