Fixed missing semicolons and a little cleanup to whitespace for reading.