Show the selected area in the overview graph.
Added a index bound check.
Added support for selecting an area in the graph with the mouse.