Fixes for Smig.close_object() This is now tested in test013::test06