WaitBarManager:
--------------------------------------------------------------------------
Manages the wait bar.
WaitBarManager( 'initialize', struct('nSamp',10,'name','Name') );
WaitBarManager( 'update', 3 );
WaitBarManager( 'close' );
--------------------------------------------------------------------------
Form:
WaitBarManager( action, d )
--------------------------------------------------------------------------
------
Inputs
------
action (1,:) Action 'initialize', 'update', 'close'
d (1,1) Input
-------
Outputs
-------
None
--------------------------------------------------------------------------