Main window: Fix index (re)loading interruption handling

Signed-off-by: Jerome Flesch <jflesch@gmail.com>