Why the big cutout for the motor? Looks like a big waste of material and it certainly won't help with the stiffness of the fixed ballscrew bearing block.

For the gantry I would make a much bigger section, ideally square. EG is not very stiff at about 30 GPa.