[tools] airframe editor: minor fixes and pep8