fix type-o in exercises; make show_api_messages more robust (so that when it blows up, it does so in a more reasonable way.