factors out badge logic, and adds badges for beta characters.