Support for account deletion. Fixes to pending queue.