Destroy shareDocs

It fixed #189 (doubles in the view) and memory leaks. And of course we should fix share 'race condition' destroy bug.