Defib logfix, more pref gear.

Pref gear updated to my latest post.