new: * apply new settings from gui dialog.
     * new functions in gui class

fix: * crash in some cases after close tab