This version actually works. Testes by saving core templates ,stylesheets and UDT's. Also fixes toolbar location when
working on stylesheets and correct PHP highlighting for PHP
in UDT's