Bug fixes, new features, 1.3.1 release