minor change - calling setup() after checking that db is ready. Also
changing the text that is shown when db is not ready