Correct errors in viscosity & demulse calculations

Modify the total volume formula in viscosity calculations to the proper
value. Fix the logic for detecting demulse. Remove the unused source
element from the GUI. Expand GUI flush_material field. Add a special
dialog for when the flush is equal to 0.