More work on rendering - and some fixing of trees