bugfix: ui crash
fix memory leak
set recent files
Merge pull request #293 from yinjimmy/merge_upgrade_to_2_2_3

bugfix