Condensed subheading check in main while loop
Fixed NameError in redditfy