more small improvements to the drawing code to make it more robust and useable
more work on resizing and utility functions in the draw playground