PHP Cleanup and CSS fixes