Fixed stupid bug due to old variable name being used in overflow warning message, which caused a crash in those cases. Also updated reference strings.