support --help for usage, minor bugfixes