Fix another nil error in new layouting code

This simplfies the code to immediately pick the display, so
that it is guranteed to exist. The old code tried to also work
in cases where we are still loading auras. This now doesn't work
anymore, but the code is also much simpler.
Guard against nil custom text functions

Ticket-number: 44