Added replacements for ImageIO and BufferedImage.
Next step would be to really replace them...