Issue with versioning

Made a global to hold the version for comparison. Easier debugging for me. Might also want to keep for the real release.