Minor efficiency improvements
Selection can now be cleared with middle click