more intelligent caching
- also, fixed an elevation offset bug in tank.cpp
extra check and a note