Reading an old container shouldn't switch the current writing container. fix #76

Renamed container to currentContainer to reduce the likelihood
of reintroducing this mistake.