tweaked GetButtonBit to return bool correctly