Generic connect/leave messages

Also fixed the default config removing plugin entries if they did not
exist in the default.