Get CPU usage for thread.
Added process statistics and cpu usage for the process.
CPU usage as a percentage for convenience.
Get task events info.
Get task basic info.
Added fallback to proc_name if no path to extract name from.
Added current processes list.
Added check for pid 0 (kernal_task) as it wouldn't be able to handle it anyway.