Add changes from the sdl project. Begin removing generic RGB model in faviour of interchangable spectrum model.