enemy in tower range detection and minor improvements