Fixing story intelligence trainer.
Fixing a number of big memory leaks.
Fixing view destroy for comments.
Merge branch 'master' into readstories

* master:
  Fixing view destroy for comments.
  Fixing a number of big memory leaks.
  Fixing story intelligence trainer.