Fix TextBox constructor and include in WindowManager.