[UI] Don't wrap if not being used thorough a TTY
[Hooks] Add copy_resources_script_name to library

Closes #837