Remove globals INFORM, DEBUG, VERBOSE, use LogGet/SetGlobalLevel

This fixes an issue where the TLS log context was initialized from
global variables before options were read.