rendering thread moved to it's own module; no more gshared hacks, all communications...