Paintuils.loadImage and shell.run fixes