Improve handling of dirty characters when resizing
Allow 16 background colors