@rbernon effect playing in `joy.cpl` was broken at some point (e.g., the input thread doesn't update `DIJOYSTATE2 state` so checking `state` for button presses always fails, etc.). Have a few commits to fix it and clean stuff up a bit. Should I add them on top of this stack.