Add missing #ifdef'd DEBUG_READ
Explicitly set the display fd to non-blocking
Fix line endings
Fix typo
Use a timeout-safe read function in block_read

block_read then returns after a (for now fixed) timeout of continous
100 ms without data