Fixed setting local hold state after direction was inactive

Ignore-this: 33d4b00905020148910dfbfa41318447

darcs-hash:20121116165920-56b4d-e23717c1ca09caa84ad27eb93621eb48b78a5b33
Fixed race conditions when deleting an account

Ignore-this: 5cde3bd74541f4e265a9f963eb22d8cd

darcs-hash:20121126174821-b22ec-53f01eaeb7e0ea1cc1d17594d777d2aeaecb91b9