added mechanism to switch between drawing modes.  Not user friendly yet...