Removing unused reset page function.
Reorganizing code.
Automatically adding a space to the end of the PS1.