unity: set env variables for global menu

Fixes #869.
unity: fix Unity HUD (alt key menu)

Fixes #802.
unity: move hacks into profiled and autostart