Almost finished. Some dialogs need to be completed.