Bug fixes with .selection div, and cursor.last cache not clearing.