Correction of severals bugs.
Final implemantation of wallclocklimit.
Fix bugs.