Optimizations

 1. Doing reindexing on post save and undo command only for given file and
not whole project.
 2. Do not do anything when progress is 100% but no navigation is requested