Added ability to close active (foreground) window