Updated the Dispatcher class to include an isAlive() method.
Updated Scheduler to reflect the Dispatcher.isAlive() method.
Dispatcher now shuts down when it dispatches all threads.