Fix formatting, and use better css minification class

There were some occasions where tabs creeped in where you have been mainly indenting with 4 spaces. I have made sure 4 spaces are used in all cases. I have also fixed 2 or 3 other small errors and changed the css minification class to a better one from the minification library.