Also a few functions segfulted if scene was unlinked, added more checking. First commit from win32, hope line endings are ok.
Also a few functions segfulted if scene was unlinked, added more checking. First commit from win32, hope line endings are ok.