Fixed WidgetDock frame

Added DockFrame with missing slot
Fixed dock widget; minor refactoring

Fixed dock widget; minor refactoring