Add options trace_threads
and trace_modules
#20
Merged
trace_threads
and trace_modules
#20