open() is python 3 compatible
explicit close for python 3 compat
Python3: transform map object into lists so I can add them up
remove dupe code for convertion units
pep8 goes into each python version... does that make sense?
correction of some pep8