Added saving camera state, fixes #118