drop global locking (expect troubles)
use goto to skip logging
consolidate old locking and tracing
drop ;'s of skip:;