improve logging, destroy tessellation threads before rt shuts down
fixed is_debugged