fixed some issues with registering the store.

session:main is made available to debugAdapter

TODO: Figure out how to work with session promise and code for EPF conventions