Work continues on the renderer - making a snapshot here before some refactoring and additions
Major cleanup; some refactoring; can now draw on a basic level from geometry.