move version into common options
improve verbosity handling, remove code duplication
minor improvements
simplify argument parsing