Moved read frames method to separate thread