FIX (bootstrapping): Fix a race condition when bootstrapping the
application.

Settings were sometimes unable to load before starting token
verification.

Also added a small delay to the window show event in order to prevent
flickering.