Some cosmetic changes in the UI.

Also changed the visibility of dmsa variable in MainWindow from public
to private.