Fixed program crash from not joining scheduler thread at end of main.