Add a manual mode and keymapping

This branch adds a manual mode (default: off) to disable automatic tab closing.

It also adds a shortcut to manually trigger the tab cleanup.