Apparently keymapping wasn't working this whole time. Fixed.
Fixed combat targeting based on mouse cursor distance; added easier mouse-to-world function