adding quit, end of doc, scroll stuff