added code to methods AbortWork, StartWork, and comments to several methods