Added a much better implimentation of the image overlays.