[[ Bug 11559 ]] Make sure -ui mode and server mode both run even if text...

...-related libraries are unavailable.