Task system conversion work

Make scene open use the task system and make it thread safe.