Remove dangling event listeners on frame removal.
Remove listener cleanup from ping failure handler.
Add codeclimate badge.