more update to render thread
more rendering thread implementation
add real workhorse for rendering