Changed zoom/pan of image editor to use scrollPane, also other small code tweaks in a few places.