A bit better working directory handling

It now should be possible to run qvs with arbitrary working directory