Set overflow on pillbox, implemented max number of keywords, and fixed a bug on number keywords.