Added UI.LoadWindow, moved some code

ResourceManager can load uncached objects now, suitable for loading UI
Windows etc