Adding a left and right release to add click and hold functionality

Added release events to the mouse commands and added a click and hold to the main loop.
This filter deals with gestures, and has to keep track of previously seen gestures. It didn't make sense for it to store commands as well. It's just a translator. The mouse and keyboard commands are the domain of the main thread. In other words, this filter should only store gesture information.