ARC and memory fixes; Flipswitch fixes