Lowercase all non-global variables.
Use printf for safely printing \e escapes and variables.