Added refresh function to recreate tree of scene objects.