Various changes

-Added some global locals
-New flat style
-Insert html
-Redesigned admin bar