Added window start color and window end color to the config array
Added some null argument checks and completed the window color change code