Add listener event for image obtained, fixes #64, fixes #46