If you refresh the page while looking at a profile, previously it would attempt to load the profile immediately before the index loaded, resulting in an empty result. This changes that so that if the index isn't loaded, it waits several seconds to let the index load and then tries again. If that doesn't work, it waits for a connection with data to load the profile.
If you refresh the page while looking at a profile, previously it would attempt to load the profile immediately before the index loaded, resulting in an empty result. This changes that so that if the index isn't loaded, it waits several seconds to let the index load and then tries again. If that doesn't work, it waits for a connection with data to load the profile.
Fixes #51.