storage fixes and change to trigger

Found a few issues relating to storage. We getting an error in Chrome because it deprecated setVersion. Also, has to change core to support multiple parameters for data.

Check the commit comments to see details.