null pointer exception fix
Suppress warning in eclipse
dop!
better to use measured width and height
update zoom if necessary
dont set bounding box on creation, only when asked
refactoring