Fix peer inactivity query, use linear falloff when handling deadlocks and make some config values more sane