Merge pull request #11 from mlewe/master

Add a truncate option to load_state.