- fixed potential crash should the account get closed early
- fixed calculation of contact ID / signatures which were not correct (now does using canonical JSON)