Added more error messages. Added a setting for verbose parsing.