When the biocomputer, Johnny, begins to spring a leak of hazardous materials, the office is forced to shuffle around offices. When Linda is left with no office, she's forced to move in with the food taste tester until she convinces Ted to let her move in with him. Linda's horrible work habits compete with her butt always getting in Ted's stare zone, makes it impossible for him to share an office with her. Ted tries to share an office with Veronica, but her firing of a gun to relieve stress puts an end to that.
Ted, desperate to avoid confronting Linda with his feelings, forces Phil and Lem to come up with a solution. He almost uses a polymer that has a low success rate, until Phil comes up with a new solution... the machine is just stressed and having an ulcer. He writes a subroutined, fixes it, and Ted and Linda deicde to work out their problems. They decide the solution to stop the flirting and keep things more professional.
Meanwhile, Lem has a little better luck when the office shuffle forces a cute Asian girl, Lucy, to be placed in his lab. The two flirt and he even takes her out for danceoke (karaoke with dancing, naturally), but the date ends with a disasterous sneeze when he attempts to kiss her. Then some hunky co-worker moves in. A jealous Lem attempts to use their soundgun to force him to vomit, but accidentally hits Lucy. She vomits and when the hunk takes her home and cares for her, they end up hooking up. Poor Lem.