updated: Multiple improvements for handling task exchange with MSSQL. Now with status and stage history support