added option to enter token manually in the tokenfile
some diagnostics edit
refactor
edited structmember names to ensure compatibility with max 2014
refactor and next release