More weeding out of unused variables and functions, and cosmetics. NOTE: There is a *BUG* I don't know how to fix in src/cmd/unit_interface.cpp, line 1261. Variable "removalindex" is used uninitialized. There's also something very strange in src/main.cpp, line 165. Hard to explain it...