added abstractions for alpha blending and color key handling for SDL/SDL2