Fix so that UI does not cause a game to crash if a default theme is not specified or if any theme images are missing.