Restore SVG graphic support

#15

Also:
* Simplify a bit of code
* Class renaming
* Some JSLint errors
* Minified toolbar SVG