Add unknown masking and unmasking.
Simpler background drawing.