Thermodynamic and superfluid behavior of a trapped Bose gas