Fixed #1330. Added option to disable warning when closing window at saving settings. Decreased the throttle for saveSettings to 200 ms from 1000 ms.
Fixed throttled saving with resetting settings or importing. Added disabling of dialog buttons API function. Reload of page will occur after save-complete event has been fired and not before. Removed Use secure protocol as YouTube has now been doing this for quite a while and is therefore deprecated.