Clear text buffer on erase.
Window title change implemented. Session change listener.
New session action added to context menu.
Fixed removing pre-last tab.
Mouse handling initial.