Changed all SQLs to use query var before Prepare()
Implemented char, class, lr, lrdel, delalt, addalt