cgame: add missing check in demo recording
cgame: remove unused code
cgame: code cleaning
cgame: cleaning
all: large style cleaning