Drawing algorithm optimizations, plus an optimization for mobile.
Merge branch 'master' of github.com:acl0056/draw-view