fix startup error when creating data directories by moving setup of logfile after default directories are created. Fix terrain decoration update problem related to missing terrainGenerator