Default to 25 if undef

This is throwing warnings in the logs right now, and since we use 25
below as the max, let's just default to showing 25.
Check for definededness with 'defined'
Fix CustomTextModule warning
Merge pull request #608 from anall/feature/fixCustomText

Fix CustomTextModule warning