updated .gitignore
added main method for lessonitemstats
converted tabs to spaces/fixed 'skip if behind'

'Skip if behind' was incorrectly handled when it occurred outside of
branching (i.e. it wasn't handled at all).
tabs to spaces
added wait for input