updated minwidth and maxwidth

made it 1024 and 600...also remobhed the windowstate option.....