Better dialog animation.
Message dialogs now tidy up after themselves.
Fixed progress dialog positioning.

For #327.