Add option to enable monitoring history (populates repl_status - useful for monitoring). Fix for stop and status service modes.