Timeout parsing added.

Also fix stupid process() thing. Tests fixed.