changes to main.cpp: read global command line arguments first to allow for immediate output redirection Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>