Fix brain-damaged formatting left over from example
Put drawing code into SpaceViewer