client: cl_main.c clean up