Minor bug fix
Converted most of the application to use the new .net 4.5 TPL (async await) for better performance.

Minor improvements.