Remove ``runSwitch`` action.

It did nothing but resort the queue unnecessarily. Also fix some debug
messages.
Fix crashes and errors in ``sortQueue()``

It would not place elements at the beginning and would crash if
non-pokemon related decisions tied.
Use ``sortQueue()`` to sort actions, remove debugs