Bugs fixes with media hashing

JPEG now working using Java software JPEG decoder, which is a little slower, but totally acceptable because, well it actually works :)