Added timer, fixed dicebug.