Complexity and dynamics in an environmental-economic model