fixed a parsing bug on Version.CheckPeriod

And refactored a few names/comments