Rename a variable and add some logging to start_tool on macOS.