Also removes import of aes, seems like that was forgotten in e1515743cd. It isn't used anyway
e1515743cd
This should speed up synchronization / restoration of large wallets. Wallets are written only when they switch to up_to_date state, or when stop_threads() is called when closing the daemon, or when a command line command finishes.