Rendering work and bugfixing

THIS BUILD CRASHES. notice.