Now both names are checked against the cache (instead of just one of them) and we got rid of some global vars
Also made some changes to it so it should be easier to unify all the build vehicle windows