Added handling of two-direction inversion. Also made sure the resized area is visible.
Moved the ResizableFrame style to it's constructor instead of creating a palette object.
Remove all areas when the image is changed or the dialog is closed. We now also have a function to dreate a new area which we will need when we want to create areas from tag data.
Some code tweaks as suggested