Removed redundant variables from the WindowManager class.