should be polished now. time to implement the email transmission dialog.