Refactored robot.running.status module contents.

Related to adding --ExitOnError (#1807).