Moves keyword punctuation to avconstants
Fixes isolated tilde check that would never run