Switched to a random distribution of tokens between cores.
Added better error handling to sisal frontend