Efficiency update

removed a lot of conversions. Links are ints now, instead of strings.
Arguments in the map generator are all in x,y format, instead of
constantly converting between indices from 0-9999 and x/y of 0-99.

Speed gains are significant (about 30-40%)