Increment the max number of window layers from 5 to 10
This variable allocates an array that is used by all window models
Some of these models allow for > 5 layers, so this value must be large enough to handle any of them
Individual window models/configurations must validate the layers themselves
This also includes some minor code cleanup and comment removal
[#72706522]