changed SM reset behavior so that the SM is only reset after a sucessful load, rather than after it has completed a set of tasks.
Merge branch 'master' of github.com:seank/freeems-loader