Connect loop writer destroyed signal to thread quit.
Close file if recording when deleted.
Added check for if a channel is a loop recorder channel.  It doesn't do anything yet.
reduced work buffer size.
Added debug for error when fetching track.
Temporarily comment out error in rate.