Fixing timeout=0 bug. Fixing t.front bug.