cocoa: perform VOCTRL_SET_UNFS_WINDOW_SIZE asyncronously

Apparently if resizing a NSWindow from a secondary thread Cocoa will
automatically protect itself using NSViewHierarchyLock and in our case,
cause a deadlock.

Fixes #1210
TOOLS/umpv: create FIFO in user directory

Makes these security measures unnecessary.
input: resolve ~ and similar for --input-file

Because why not.
command: finish hook execution if client fails

Translation: if the (to be added) youtube-dl Lua script crashes, don't
wait forever when opening something.
lua: lua_tostring() on an error value can return NULL

Lua is so clever it allows values that can't be converted to strings, in
which case lua_tostring() returns NULL. Trigger undefined behavior.