double -> float, for loop references
updated libgaem