Increment version to v0.2.1.
Log out on minimize to avoid connection close errors.