Updated windowlist.cpp