Fixed UI reload bug, fixed debug logging