Don't use void pointers

Refs #10441
Correct the close window slot name

Refs #10441