implemented a lot of convient functions like hotkeys, ask user to save
changes before closing tab, ...