Copying mouseclick test to movingpaint2 updating main