Moved some mouse code out of Desktop class. Made the MouseInputSource class pass-by-value.
Linux file chooser fix.