Code review. Added TODOs, style changed on the fly

* Removed useless thread use. It would use N * sleep(1) instead of
  sleep(N), thus waking up thread unnecessarily
* Style changed for a more conventionnal ruby code
* TODO's added, grep them all in the next iteration