Some cleanup: codestyle, license, invalid comments