added a post load step to scene change and fixed a memory leak