Use the latest tag as the version by default for the init command.

Also fix some bugs.