Pull request for list-related code

Especially the reset command fix. That's very list-related >.>