Edited some comments and reformatted some things.