GUI package overhaul.
Improve open file
set native window title
Fix a deadlock