prompt is now better a component implementing a window container
added method to write arbitrary strings to shell window