improved help and error messages