Fixed bug in region auto-detection

Added quick context switcher to the dev tool