fixes #457 (master)
- configurable max wait for screen
- Support for logical text block