Fixed "Fail-safe mode" checkbox value being updated when user goes to the "Tools" tab page, instead of the "Options" page.
Added ConfirmDialog class, for showing confirmation prompts.
Hooked up ConfirmDialog to "Remember usernames", "Reset settings", and "Delete all data" controls. Fixed sign-in tab notification not being updated after "remember username" or "remember password" options were changed.