get subtargets list rewriten as function & some cosmetic fixes
fix for previous commit
Update codestyle.txt