race command completed

+ finished filling out the functions for the race command
+ debugged a derp in the inv cycle code