Added category storage to ClientThread