Finished mainloop for cooking