The safemode restriction you may not be able to work around. That's something a script really can't take care of. That's a server setup issue that you and your ISP have to work out.
As for the saving to drafts... not so sure. I haven't tested that yet.