minor fixes/edits in logicthread