Creates a new map view from className, disposes the previous
one (if there was one) and installs the new one -- all while holding
this registry's lock, with callback invoked in between so the
caller can do its Swing wiring atomically with the field swap.