Refactored listeners out of the PrinterPanel.
Created the image class
Refactored out inner classes