Fix for stopping a non-started thread.

Feature: Main thread wait (when stopped) can be accessed by descendants using the WaitForHandle() to wait for a custom handle of their own so they can be awoken on custom events.