Add x and y parameters to message constructor
Default values for message text and duration
Simplify showMessage