Began rewrite of painter and parser to support multiple nodes.
Updated test.txt.