bug fixing and cleaning up
Several bug fixes, some related to memory issues.
Merge branch 'language-edit' of https://github.com/revbayes/revbayes into language-edit