Tryign to fix dayview problems
Trying to make things work across threads