Added temporary implementation of message popup.
Corrected minor mistakes