removed unused 'title' from subsubmenus
fixed some flake8 errors