Add errorDb signal and shorcut to quit.
Add errorDb signal, shortcut to quit