espra/ui: lex domly in a more complete way and return errors without blocking the goroutine.