Ooops, I forgot: another step might be to default to when invoking with "fossil ui" instead of "fossil server". That's at least the behaviour I prefer with those different invocations.