Almost sounds like there is a problem with the sword lock switches. Working with Keefer, and knowing how he defines MB devices, sounds like your sword lock is losing track. Does it test out well? Any row or column issues on the switch matrix? Touch them all in switch test, look for entire rows/columns going off. Good luck!