Melee weapon fixes

Attacks now either hit terrain and or characters, and do not hit
characters through walls.

Various other improvements and corrections.