fix infinite loop and add toggle for whether or not to included featured events