Issue #88: PaintBackground now accepts arbitrary numbers of parameters