Changed free license to allow commercial use

Also minor tweaks to MessageDialog.