Fix bug with pending selection.
Fix bug with pending selection.

Pending selection should be cleared if the ball has been killed at that
position. Also, add diagnostics to addColorStop when they are passed wrong
value.

freekai/lines,freekai/lines