Added more detailed error messages.
Moved initialization error message to Task.initialize method.