Fixed missing dictionary instantiation in __process_procnames_to_terminate_type and some minor fixes