Add a monitor example, and add more documentation relating to monitor handling