Fixes most tests.  Adds counter bar to agent profile.