Dialog Fixes

Moved message functions over to widget systems and organized them better
as well as outlined the message box functions and asynchronous functions.