OnWork Events changed to 64 bit

The OnWork events have been changed to use Int64. Please remember that the dev snapshot is our live tree and this may not be the final solution. We are discussing changing them back to integer and adding alternate events for 64 bit support.