Fixed most of the formatting issues.