Condense mixin classes into AdvancedDraw.js. Add undo manager and ops. G...

...eneral cleanup.