* Refactored WindowManager class to better use prototype inheritance