Implemented JPEG support (CHILL WORKS NOW! YAY!)