You could also try using vid_restart instead of restarting the game entirely. Also, com_allowConsole 1 in the CFG or in the Steam game launch options should get the in-game command console working if you haven't gotten it to already.