some stub fixes. fixed settings issues. client plugin work