Fixed XEvent masks and added experimental Myo support.