Rewrote some stuff. About to pull Aaun's commit.
Cleaned up the code a little. Also fixed a bug with the prompt showing up.