Visual tweaks.
Fix possible segfault when deleting a Connection.