removed debug prints. added try except for task validation
Merge pull request #224 from Somesh/master

removed debug prints. added try except for task validation