'macrosheet.py': PEP8 and some small changes