Removed not-working-very-well threading stuff from dashboard and put sync in separate but joined process.