Rolled getVersion and getDevTag into 1 function
Fixed other small things according to the pull request