Finished slight formatting changes and ensured that comments were in place where neccesary