cleanup and comments
merge

Merge branch 'master' of https://github.com/PhoenixRockit/tgRegistration