Improved performance by converting BufferedImages to a compatible type
and tweaking the framerate.