obsolete newlines
debug-vector changed
now using doc.write/close/open instead of PHP
change frame location away from PHP