Added profiling timer around message handling
More profiling. Switch to Sys.IO.