bringing the panda window on top

Thansk drwr, it works great.

I used the second workaround for I need base.win almost everywhere. And it seems more elegant to me too.