Some formatting.

Added close confirmation.
Using local addresses.