the filter class was poorly written, I have started the process of fixing it.

At some point the main should be moved out of the imagePanel class and into a more logical location.

John Broadbent