old changes to delete with a merge
fixed bug in region picker

needed to turn off onclick before reassigning it