changed all int returns to unsigned char. shaved off 6 bytes. yay.