overhaul auto-detect xinput device due to crash regression. postpone until figure out
multi threading test
synchronization is now possible!
only respond to Added and Modified event (not Removed) for sync. this is compatible with dropbox