Updated to try opening (and distinguishing) two separate databases
Reworked OnActiveChanged code/event