Use new/delete for TrayWindow.