lockd: fixed broken min rx seq persistence
lockd: implemented a priority queue for the serial interface
fixed bug in the doorlogic when handling buttons