Implement simple threads.

  The new thread keyword replaces the unused rankof keyword.
  Any function call can be used to start a new thread; the return
value is at least currently ignored as the thread call returns an
opaque thread object, that later should be usable for other calls.