Transfer ShapePath commands and (morph) data from worker to main thread instead of copying