Small fixes

Popup window is centered now.