Add close window key chord binding (ctrl -> w)
Added additional logic to deal with close tab handling based on element source (based on button vs short cut key)