improving dialogs, refactoring code.
added multiple language support