ARC, upload cancel fix, memory leaks fix