Bug fixes in conservation functions.
Added database table to gui.
Update to setup to enable gui.