The first problem was probably caused by the fact that there were two buildings with the same name.
I haven't really fixed the second problem yet, but I suspect that it has to do with the fact that the individual WildSpiderling object also has a build time associated with it.
I have a new question though:
Is it possible to change the upgrade cost/time of a building? Simply copy pasting the Upgrade tag of the building and changing the BuildCost and BuildTime fields doesn't work. And creating a new Upgrade tag and a new CommandButton and adding the new CommandButton to the building's CommandSet works, but the upgrade loses it's icon. What is the correct way of doing this?