Dispose graphics context to avoid memory leaking
JBIDE-18179: No horizontal scroll for TextViewer, automatic wrap at line length
JBIDE-18173: Remove button instance variables and enableButtons() method