Add a log function
Add a cmake option to enable stdout logging
Use log_op instead of printf
Display a grid to identify the upscaled pixels, and a line to identify the sprites edges