made local vars in update_state, state variables
only start evaluating dragging rectangle code when we where really
dragging a rectangle (> 3 px 'rect made at minimum').
bug is fixed, remove comment