Firefox compatibility,

Also getting rid of selecting text on graph so accidental selections on Shift don't mess something up