Fix typos in OutlinesObject().add()

By using pylint, I found some undefined variables, I corrected those which I understand.

There is still the `debugging` in `generic.py` which is not defined.