Fix bug from converting to coffeescript.
Fix bug where we deleted the last cusor. Hide empty selections.