Clear out pending errors on player disposal.

Source selection errors are dispatched asynchronously so that there is an opportunity to override the error message. If the player is disposed during that period, the error timeout wasn't being cleared properly. Fix for #1480.
There are plenty of other instances of multiple variable declarations on the same line in this file. Is you objection because one of the variables is also defined here?