Error checking of the Treatment Plant Properties is incomplete. It is possible to define a system such that the outflow from any tank/lagoon has a higher fraction of biosolids than the tank/lagoon. The user must take care to avoid this unrealistic system definition.
Type 3 chemicals are not treated correctly. There is a typographical error in the code.
The "Change" chemical function for the database is not working correctly. To save the chemical with the new properties, use a new name to avoid crashing the program.