Implemented error handling and re-using workers.
Added error handling example.
Updated compressed script file.