Formatting cleanup of GUI code.