Removing ancient references to text-copying hacks...
Adding a missing return type annotation
Adding support for 'cleanup scripts'
Whoops

This should make the context button's on-click action utilize the 'UI' object inside of the static 'ChatServices' object (as it now should and must).