use version. Fix output of error/warning messages. Fix END quoting