Removed unnecessary dialog
Added license text and improved logging.