Updated platform files to include an additional header guard to prevent invalid loading, more Thread work