you can take the scripts once again, I've added the saving for the smart object... as for the first problem I really don't know what's happening, in my tests it didn't happened that... maybe you can share the psd document or a par of it with the problems.
http://www.mediafire.com/download/rju40fuo8o174ja/test_Kevinoneil.zip