change command to WindowCommand and set Blame visible.

1. change base command to WindowCommand. Sibe bar menu is working when
not edit view.
2. hide blame bar when then selected not file.