Improve MainAppWindow title string

Show parent directories of MDLs if they have the same name.