Tidying up.
Made tests and test nodes collapsible.
Tidying up.
Printer now has some basic collapse/expand functions.