corrected the models to access the managedobjectcontexts on the appropriate threads. fixes deadlocks.