minor code fix
Render process cleanup & API improvements