Please improve mouse gestures (straight line)

Simple straight lines currently don't work reliably. Please improve the detection algorithm.

Also, please remove the "needs modifier key" requirement for the right mouse button - It makes it basically unusable to initial mouse gestures with the right mouse button (which is what I'm used to from Linux and Windows).