basics settings and structure mode placing
pyflakes fixes
Merge pull request #2961 from digi604/fix-2904

basics settings and structure mode placing