Added windowController to common variables list.
Added show terminal menu item.
Implemented show terminal logic.
Added a layer to window controller to close terminal.
Added staged files check before showing kommit dialog.