note close panel does not actually close the panel. It just sets pbCancel to True, informing the
process using this that it wants to close. It is then up the process close the panel.
This allows the panel to paint when used in a tight loop, which is what status panels are
used for. Any time you update the panel or wish to check for a cancel, you should call this.