Added displaying number of selected characters and instances (closes #274).
Adjusted tooltip position and content to always fit on the screen.