Report error if a "load" file fails to close an open bracketed clause
remove old debug code
update for version 5