keep_tabs option

Added an option to set amount of tabs which can be kept open, other tabs will be closed based on last modification time sort order.