Logging will append not overwrite the log file for textinfo. Some small cleanups
Avoid nil error while importing FI/PI updates