Ignore adding a window if it's already present

If a window is added and it's already in the compositor's
window list, then it won't be added again. This was causing
strange behaviour in the compositor (windows and panels
disappearing).
Merge pull request #107 from hordepfo/compositor-disappear-fix

Possible fix for disappearing panels and windows