Add argument to setupFirefox for debugging output.
Change method name in client socket close call.