First running version. Bug in commiting spout fixed.