Fixed crash when loading a model after the first time.
Removed some more MFC dependencies...(HTREEITEM EVERYWHERE!)