Clean up cgame player command code