Changed SceUID file descriptors and PSPSDK specific file IO functions to stdio ones.
Added JPEG support (only RGB JPEGs/JPGs).
Changed other minor things.
(BMPs are not working yet).