Corrected 'closeAllInfoWindows' function.