Improved EventLoop.executeOnUIThread() when used on main thread.

It now just executes immediately, rather than redundantly doing all the shenanigans it would need to do if it weren't already on the main thread.
Used error tolerant loading in FileMenu operations.

Errors are reported to the user via a dialogue, but the file is no longer prevented from loading.

Fixes #746.