Fixed Qt Board locking and unlocking.