Quick thinking helps avoid disaster from burning boat