harmonized the manual_unlocked and perm_unlocked flags
added bell simulation to the lock controller simulation
lockd: fixed broken bell code
lockd: adden "open" state to the display