added stream buffering and system postscript initialization