Added MessageDialog.
Improved coding style.
Implemented message report in ExtractIndicator.