Added stuff for stylesheet, and changed some tpl files