Drawing, Saving, Gestures and Element context improvements.

Also minor fixes.