deal more cleanly with computing thermodynamic data
updates to optim_database_gui