Add magit customization.
Move lexical-binging declaration to first line and minor fixes.