reset offscreen windows after monitor change
import pymel.core as pm
open_windows = pm.lsUI(windows=True)
print open_windows
for window in open_windows:
if window.name() == 'AdvancedSkeletonWindow':
pm.deleteUI(window)
pm.windowPref(window, remove=True)