fix redraw flickering on Firefox, minifies more

-Set canvas width to clear canvas instead of drawing white rectangle
-Lots of little things to help minify the script further
-Parameters match official v2.0.0 except for stroke is line and my
additions
-Docs still outdated