Fixed a few bugs. Works with old pads and new pads using individual group id