Fixed all Code Analysis warnings

The code compiles with all code analysis warnings enabled. Also fixed up
a few issues those exposed.
Updating the documentation

Added arrows to show the profiling button and added a filter example.
Maybe this will cut down on the confusion on where to see the tracing.