This example creates a simple magnifier.  There is quite a bit left
as an excercise for the reader... it does work however.

Run it, resize it appropriately (sorry, I just didn't feel like
fixing the size, weather's too good outside), click inside, then
click where you want to grab.  Set magnification factor and
auto-refresh as desired.
