comments added/removed for MenuCommands
Merge pull request #1915 from feinstaub/minor_fixes

comments added/removed for MenuCommands
avoid multiple iterations on selected items
restore last selected items on reload
correct updating of current file in commit window

fixes bugs intoduced in 7e2eb61f61c940c524fcfcdc42f5ec6b7da3a371