Support for configuring whether or not entities target invisibles
Bug fixes and tweaks