Released minor 0.3.1 patch; contributions from Immo Heikkinen