Fix some comments and code formatting.