run-standalone.sh leafpad, i think you meant. and running leafpad like that does not crash it when trying to use the save as (atleast for me on pk46)