allow PygcurseTextbox support for newline characters
fix setting backgroundimage to None