Classical dynamics and stability of collapsing thick shells of matter