expose current global_state_version to ruby land
fix version string so "jamesgolick" isn't cut off