improved gui

added message box and tweaked buttons, need to add some coments later