Merge pull request #7871 from jordan-woyak/wm-real-cleanup WiimoteReal: Improve state changes and code cleanups.