Image utilities, primitives, sprite management...

More stuff ported.
IImageLoader