Timeline: Move punch logic to record diskthread. Punches are now sample accurate and work better in freewheeling mode.
Timeline: Avoid deadlock in diskthread.