More work on XYWnd (cursors, duplicated code)
Migrate XYWnd RMB zoom methods.
Fix double-deletion on shutdown.