some hacking on the ditherer