Third version. This fixed the ‘Pen Up-Down’ bug, and the drawing is much more exact. You can now control the penSize.