improved lockcontroller simulation cli
fixed bug which causes too many eeprom writes