Tournament manager: first steps

Various bug fixed.