Fixing a number of big memory leaks.
Fixing view destroy for comments.