Adding comments and other functionality

- localStorage support
- setting execution state based on stored choice (from previous choice)