PHYS-24 #time 20m #comment Old work. Can't remember what I was really doing here.
Fix compilation problems & NPE in refreshQuadrant.