Make ThreadPool and Window.