vector to list
merge changes from master
reset focus after deleting a window