Catch UnsupportedOperationExceptions from getDesktop.
Merge pull request #128 from openrocket/issue-118

Catch UnsupportedOperationExceptions from getDesktop.