Added and used constants for all windows.