whitespace formatting
switch the default autolibs to 4 and add a upgrade note, closes #1831
use extra code for ZSH log file name cutting, fix #1832