Changed to set the initial string via a variable.
Added a feature for filtering specific display objects.
Changes to enhance the readability.