fixed a couple of minor things, as well as an error that wouldn't select
a target space in some cases causing AI units not to move.

Ive pretty much decided to overhaul the create unit method, and it's
going to be messy ripping it out, but I really want to make something
good and professional in its place. we'll see what happens.