Reflow entire skin template, all tabs at 4 spaces now.

Also reflowed a few minor parts of the skin code, leading to more readable code.