Refactored the mess that was UILoader.hpp. It's not the definition of duplicacy anymore.