PopupWindow.py

Moved the popup window class and methods to its own file.