Warn user before updating to major new version. Also fixed minor version comparison bug, and added tests.