added log statement for removing ui from thread