Added a ton of comments to windowmain.cpp