Update version file.
Fixed some minor bugs.