Documentation
Fixing cppcheck warnings.
Bug fix

Failing to properly delete a pointer array was causing intermittent
problems.