refactored settings
moved top panel into the contextual men
updated dialog management