Full export of scene and contents implemented. Fixed numerous bugs throughout the library