properly replace dogeument and windoge
Merge pull request #55 from englercj/master

properly replace dogeument and windoge