SMS dit: MHV diagrams in twistor space and the twistor action