Added functionalities

Added image and audio preloading and image printing in canvas or other
kind of elements.