RKC did a post on how to adjust the pocket castings with a screw method.
Regarding the side rails not aligning properly, the rails have a lot of movement in them for adjustment. Almost every table I dissemble the tables have not been installed correctly especially the side rails.
Go to one end...