Main window: Optimize document deletion: No need to refresh the whole doc list

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