Update to use lessonIndex for loading of sample lessons (file protocol)
disable activity logging when file protocol is being used