Fixes #2586. References #2548: Removed ReadWriteLock in AbstractDViewModel. Now uses DGraphView.m_lock.

(cherry picked from commit eb54218c8b5612ade73a1cd812a272082de8f7bb)