Only enable reparent if we have X11

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Do not refresh if the zoom level does not change
Cache thumbnails to support smooth zooming