added gfx opcode and edited some vars