Infinite loop in file removal was fixed. Index is rebuilt before open.
Merge remote-tracking branch 'origin/develop' into develop