print some version and environment info on --verbose (+ py3 fixes)