Fix editor permissions, various editor cache fixes, add log write mode to arguments.