retab with spaces, BW/dimming in save(), corner detection by distances