On Dirichlet-to-Neumann Maps, Nonlocal Interactions, and Some Applications to Fredholm Determinants