Made dbltapzooms self-centering
Moved watermarking code to separate class