switched USB ports; changed some debugging code