Allow changing the image

Added an event system to replace hardcoded functions