- no sense in feeding in an int (and getting a compiler warning for narrowing) into something that by spec is a 16-bit value.
- While called from the ViewManager (to post the debug log) this isn't really part of the ViewManager itself, so factor out the pasting code into its own file.