Fixed errors in quickchess script.