Removed problematic already shown and hidden exceptions.

When calling show and hide intents from another thread a race condition may appear causing multiple calls to window show and hide functions. It is unnecessary for those functions throw an exception, because it is obvious what should be achieved (window either shown or hidden).

The proposed patch replaces the exceptions with a debugging notice and "does the right thing".