Atlas python 3 conversion and minor fixes and updates

Merged Alexander van Heukelum (TriOpSys) requested to merge updates into master