Fixes for using the uni gen outside of a game.