Improve single-threaded operation. It's now safe(r?) to close a canvas while it...