Spell Boolean values as such.
Fix the 'L' key in the TUI client. This was broken by commit 7b69ef03fe29e0b012d725aabe543e1e1e65065e
Make global variables local static where possible.
No need to initialize global variables to 0 / NULL / false, per C standard.
Align some comments.