Update window.cpp

Updated to better reflect project quality