update fws.doghouse.lua: fixed bugs, working now.

It's working right now without the HC script. Can you test it out with the HC?