Start using the device GUIDs in bindings so we don't try to assign mappings to the wrong input device on successive runs.
Fix to be C++ correct
Try to hide all details about GUID wrangling from the keybinding layer.
reduce warnings, unused vars, unnecessary casts.
Avoid stupid potential overflow.
Avoid Stupid potential overflow in BOTH locations.