matching the Windows look; modified the paint routine for the close button of a tool window to improve scalability.