Many changes, added output, added error dialogs, etc.