rework of mousemove handler. Need to rework a lot since i realized my definition of what constitutes a stroke is flawed