XF.log, templates caching fix, ajaxSettings fix