Fix some indentation errors, return None for kernel threads, remove get_task_name