several adjustments. added some options especially regarding the focus behaviour. but also some additive settings and some cleanups