fix compile errors; add SetError; show usage in message box; fix argument parsing error; improve YAML error handling