Arduino has some strange reactions

Thanks. There is no decoupling capacitor on the supply input for the arduino, I suppose I should really try that out. What would you suggest is a good type/value capacitor to start with? I'm powering the arduino with 12VDC from the din rail power supply. I've attached the spec sheet for reference, and as well as the schematic. Thanks for your help.