Midas state gesture overlap

This is a more complete version of midasState, therefore it should be pulled instead.
This has quite a few parameters. It seems like it's necessary for now. I worry a little bit about having all of the different variable for storing state information; might be tricky to keep track of for adding sequences in the future or just modifying the code.