Merge pull request #801 from mdboom/setup/pkg-config-bugs

Improve pkg-config support
Merge pull request #817 from mdboom/coordinates/encoding

Coordinates and unicode
Merge pull request #752 from mdboom/utils/progress-bar-exception

ProgressBar(0) raises exception
Fixes #771: Makes the ProgressBar usable as a generator.