add Close button; change from Console to MessageBox