Fixed UI DLL loading issues

Veni, vidi, vici.