Some cleanup (end LF warnings) and lmglobals update