Added prototype of region-switching.
Misc. updates.