test for unqualified calls to loop functions
updated docs
pretty file errors when have trace
refactor removal of single quotes, also remove underscores