Event/IO profiling
Improvements to profiling
Merge pull request #777 from TheUnknownOne/master

Event/IO profiling