Cleanup

Removes two c++ warnings. Improves documentation.
Ah, sorry ... I thought the delete did sth else ... nevermind ...