Fixed failing monit integration tests, and squashed a couple of IDE compiler warnings