Set started to true before emitting "started" event
Fix bug in nextCmd

Simple index issue when getting rawCmd
Fix typo in demo when setting breakpoints