fixed overly aggressive sanitation causing problems with multiple page move

- if string was csv, sanitize by removing all non-numeric, comma, and whitespace chars
- otherwise just intval()
suppress htmlentities() warning when trying to encode an array

- additionally instantiate the text helper, instead of reloading
added array_walk_recursive function to handle multi-dimensional array possibility
korvin said so

not as curt, but not as funky either.