SCI: improved patcher, inventory patch for kq6/mac

Also added new debug flag for script patcher