added mouse position tracking on textpane and coloring of selection