some comments in code

@dhowe you would see the zoom-in / zoom-out buttons work, but then the
value of ratio is reset to its size before the click. Would love if you
could take a look…