If they insist on death being painless I suggest the criminal be held under water for 30 minutes.
Or we could bring back the guillotine.