Refactored Thread creation to use forms.