Added dummy window as parent in warning and critical error handlers.

In gtk 3.14, creating a message dialog without a parent window
causes a crash.  Unfortunately this causes the original error or
warning message from being seen by the user.