better help message + list of known exit codes; directory check