Now uses last DbSync instead of first to allow for changing account
Many minor bugfixes