fixed more template layoout glitches and deleted global styles