Program that demos close and icon methods.