MainWindow2: minor

--HG--
branch : develop
Fix compiler warnings

--HG--
branch : develop
Editor: move methods openObject(),openRecent to MainWindow2

--HG--
branch : develop
Bug fixed: crash problem during file saving/loading.

--HG--
branch : develop