Added output messages on main loop