* Edit button fixes: on windows open a file in editor instead of running it.
merge from gui branch
* wrong param name cause exception in open_file_for_edit call