Normalize whitespace, add comments, remove old commented code