Minor change.
Cleaned up _te module.
Added option for doing friendly damage to own units.
Removed py_run and cl_py_run commands and made style changes.