Store the window id as a property instead of accessing the WND