<< I'm still wondering why Ted set the wastebucket on fire in the first place... >>
To get the Fire Dept there by setting off the fire alarm. The police were obviously not going to come help them. He held it up to the smoke alarm.
Help them what? Why did he need the fire department? I don't get this.