update LastActiveWindow with signals

Authored by mvourlakos on Jun 4 2019, 8:04 PM.