Add visible and transform to node output.
Refactor; export now has a state variable. Also continue to develop export code; start work on geometry.