Andrew, I find that slightly bowed door stiles can normally be used, if carefully positioned, but twisted ones cannot, [unless perhaps slightly twisted if it can be paired to one which mirrors it]. You will probably know most of this, but something following might be informational: Firstly your timber needs to be of consistent moisture content throughout, which is unlikely if you have just purchased the timber, it is likely to be different in the centre than at the outsides, which can result in the wood bowing as soon as a plank is put over an over-hand planer, and then maybe bowing again in the opposite direction [possibly cancelling out the previous effect] when thicknessing the other side, so to avoid this, best let the wood acclimatise in your workshop at least a week, preferably a few weeks for m.c. to even out before planing it. Don't leave planks on the floor to pick up moisture from the ground. If you are forced to use it straight away try to take off an even amount from both sides, [although that is not possible with bowed planks]. If starting from sawn timber much thicker than the final thickness, as you have done, it is good to plane over-size, leave in stick a few days before finishing to required thickness. When you have planed to thickness, leave it a couple of days, again if you can, in stick or on edge so air accesses both sides, then match tall stiles in such a way that the worst bows happen at the hinged edge, so the centre hinge flattens the stile. Match remaining stiles to each other for grain match if not painted, and so that most importantly, the stiles which meet in the middle of the opening, line up with each other, so bows match, making sure that any bulge is outward, so doors close fully at top and bottom. This way, slightly bowed stiles can be used, but twisted ones must be discarded. Number the stiles on the fronts with pencil so you keep the sequence. The gluing up of the doors is important. I like to use good quality T-Bar cramps which deflect less than sash cramps. If the doors are thin, twist the cramps so that the pressure exerted by the threaded cramp head is exactly in line with the centre of the door stiles. It is important that you look carefully along the front of the cramped up door while the door is in cramp to check it is not being glued up in winding, the door must be completely flat as the glue is drying, other than that caused by bows which you have already made allowance for. When the doors are all glued up, you can make a final check, putting the sets of four doors to make the bifold pairs next to each other on a large bench or the floor to ensure that they meet each other well and that the outer hinged stiles are parallel. The important thing I am trying to say is pair and mirror irregularities to achieve compatability to minimise wastage because a few bowed stiles are inevitable with tall doors.