Removed useless comments and added error checking.
Changed wording a little.
Fixed a lot of residual issues and general derps in the code.