Revert dynamic datastructures (#804) * Revert "Avoid double ownership (#800)" This reverts commit 89b40de858f598975098a0436637bca8357a4a86. * Revert "Fix bad unique_ptr usage" This reverts commit 2086ce8e571ad816dcce8dabf402e2de99fa2134. * Revert "Use correct method to delete resource (#783)" This reverts commit 81e74a0f3f325ada0abe35211e90b74132f91470. * Revert "Use unique_ptr for Grid in Cell (#782)" This reverts commit 9fe088af93baae54a11d5055536196954428c70f. * Revert "Make rootgrid an unique_ptr (#776)" This reverts commit 15d5f583ec24634baa5074428cf825d3ce9c1ce4. * Revert "Use vector instead of raw pointer arrays (#785)" This reverts commit 9dfc4fb8e1cf4efe16228ebfb76785a574c017d2. * Revert "Use unique_ptr for Document in TSCanvas (#780)" This reverts commit e3d46028c2e9a731024ea61221f950349a6a226f.