Added windows specific code for OnTop feature.