repair functions.php and remove more klogger mess in addons helper mess