Applied patch to freecolor from T. Bishop, fixing out of bounds array indexing
and larger memory configurations.

Freecolor really needs a rewrite.