add toggle to enable/disable non-live paths
consider whether paths contain units in playerDirectVisWhen()
consistently use Unit objects instead of indices everywhere possible except in App
consistently use Unit objects instead of indices in App as well
fix multiplayer regression introduced in 3a9a86c
various cleanup and bug fixes over last few commits