window: support new colors also as borders
main: simplify conversion error message
window: fix display of multibyte characters
settings: rearrange a few options
charset: pass const references
remove error.{cpp,h}