Initialize StockColors

This commit makes sure the StockColors are initialized and destroyed with the mainLoop.