Fix a GDI resource leak (client will crash and possibly other running clients as well).
Fix another crash in loading UI.
Prevent a crash in map UI if point spl files fail to load.