Nonthermal States Arising from Confinement in One and Two Dimensions.