first that joined; do this instead of iterating. Remove redundant check. Style cleanup. Charles, please make an effort to conform to the style of the rest of the codebase; you keep committing stuff in a completely different style and others keep having to clean it up.