Dissertation updates and code fixes