update Mp3Duration calculation to factor in image size
fix warnings for unused variables