Fixed nits, renamed setAppWindow to setPeerWindow and removed
extra debug