now working as expected. (+2 squashed commits)
Squashed commits:
[7528ac8] betta
[2195ddc] refactor
refactored
better style. Do not try to set default path after opening image
remove unused function
simplify events
clear document w/o sending CurDocChange event - to do one less round of file opening