1/4" - 28 TPI. Too long and it will keep you from operating your bolt. Too short you will strip out the action screw threads. Better to stat long and grind shorter.

The safety is probably an adjustment near the rear of the trigger assembly. There has been some discussion around your trigger recently. might be an easy find.