Refactor rendering routine to send data and info messages to decouple image saving backend and presentation from rendering process