Fix up php formatting, comments, and TA grades