changed location of log file
made OSX icon OSX specific
fix for mingw specifics