Hello,

To show the name of the current workspace when you change it, you can
use XMonad.Layout.ShowWName.

I don't know a way to query where a window is, but
XMonad.Actions.WindowGo has a 'raise' function that will make visible
a window that meets a Query. I believe this is what you are looking
for.

Hope that helps !

--
Etienne Millon