Added ways to get results from a background task.
Merge pull request #520 from dshurt/v1.2

Added ways to get results from a background task.