Removed timeout on gesture building. Added debuging txt. Added redo
button.