Move pixel operations out of util.c to main.c
Add persistent DC
Replace conf.widths with charwidth
Move font realisation from conf.c to main.c
Fix per-file settings to not be changed when changing config