Add a few comments and remove extraneous whitespace

Just cleaning things up a bit.