Fixing issue with SmartDispatcher when switching tasks, adding better error handling, and adding platform version to error reports.