Cleanup.
Added loading mask when loading the UI.