now draws to an offscreen canvas, removed the migrate jquery script, disables input when generating a new image.