minor style changes, move LOG_FILE into settings