No idea about the shot clock question.
For the first question: you're right, this is not a CE. Once the throw-in is over, by rule you're done. You can fix it until the throw-in is over. The officials did not handle it correctly by the book.
That said, at any level sub-varsity, I would consider fixing it the way they did. Of course, I like to think this would never happen to me....