Reduced code complexity by stronger integrating windows library.