My scripts that rely on Elefront all of a sudden started producing really strange results. I found that objects were being duplicated. When baking, the old bakename objects were note being removed. Reverting to version 5.1.5 solved the problem for now.