Added keyboard shortcut 'ESC' to close active windows.