Some changes to solenoid code, may have fixed it but have not tried yet. Also removed wonky simulator arm code.