Fix: tabs to spaces
Fix: improved import/export of accounts, keeping track of types