Thread message now accepts no constructor arguments.

Function to call can now be set via public member function.