Removed unnecessary [NSThread isMainThread] check .. although I might be wrong.
Minor line wrapping