window click handle hookup fixed for window / marker

There have been a few issues reported with window not allowing clicks. The reason was more than one marker was being created per model. Therefore window was hooking to the wrong marker , which was not visibly clicked. Kinda a race condition. This resolves that .

@gitnik
@cthrax
@aesnyder