A bug got into the computer case causing the software to bug out which was really starting to bug me but at least we discovered that no one had bugged the room. 
What does each instance of the word bug mean in the above sentence.