more options for 'view'

Also adds version number from git and improves usability in some places.