refactoring render engine notes and a few extra updates