Make screen writing consistent and properly exit on errors.
Make screen writing consistent and properly exit on errors.