Clarify sample-demobase in the comments.
Apply the autocapitalize attribute to input lines.
Comments, synonyms in demo.
Suppress resize events which don't change the size of the port.