minor cleanup
shuffle code out of agent.Agent, into api.Color
get color stuff out of agent.Agent
remove unused code
change return type Agent.realloc to boolean

edit since the Agent returned wasn't being unused
minor cleanup
remove unused code
clean up agent reallocation code

instead of having Agent.realloc() return information, put
the needed checking in Realloc.realloc().  it's simpler
overall this way
remove unused code