Fixed whitespace, tabbing, etc.

Updated to meet existing style, and PHP coding standards.