fixed patch error with arrays, and had move graphics service over to using objects