Added some notes
Something is broken... committing before undoing a bunch of changes
Seems to be working again. Committing working version before redoing things.
Max possible redone and working
Fixed the 'something' that was broken - added more stuff to allow stopping of the threads\n\nThe something was that the threads would exit right away because __event_capture_running was being set after they were supposed to start. The thread termination stuff is blocked until I can find a good non-blocking way to check if the device is ready to be read from. I'm not even sure if it's necessary though, so it may get tossed.