Merge pull request #19 from philipgian/release-0.4

Various libxeg improvements