Add background drawing. Some tweaks to pixel drawing.