Added a few user interaction additions, and fixed a lot of bugs.