Added threaded monitoring module.