Popup Functions Moved

Popup functions were all moved to separate file. Everything about
generating the content, making the strings for output text, and making
the popup widget is now in output.py