add default_errordef and remove a couple deprecated oneshot from __init__