Various small improvements

I made a few changes to pavolume to make it work flawlessly on my machine and I believe they might be useful for others, too. I combined these rather unrelated changes because I didn't want to open 4 tiny pull requests, hope that's fine by you.