Fixed unsigned warnings, removed UIResult