Updated event badge code to account for no logo images and clean up