Fix the Stored procedure TRUNCATE TABLE bug. Clean up some EE code on unddo and Release