more PEP8 and port to newer pyopenmensa version