Cleans up even more code

Removes the necessity to do a bunch of "if"s or switches in order to
check mutantrace. Fixes a few bugs that were present in the code. All in
all, this should be much cleanlier and smoother than before.