The first breaks circular dependency between `DiabloUI` and `text_render`. The latter one moves `UiPanels` to a more appropriate place.