Completed asset::Sprite and fixed some problems with SDL.