add a function to print a line to stderr
import initial draft of newt UI class