fixed output of kget, added new version command, and miscellaneous clean up