Improved Popup gui
Added some comments and stuff