fix DB errors on startup. Also, provide keyboard in appropriate places in the UI.