Implemented per-TID CPU usage, balanced event count

CPU analysis now shows per-TID CPU usage for top 10 processes.
Event counting now uses a balanced approach using load
approximation via trace packets (only works on single stream.)