GUI work - added popup functionality to windows, changed window exit
behavior.