Updated comments for the on_idle example function.