Refactor TextGameLoop to shorter functions and some translatable strings