Global context bugs. Closes #11. Closes #12. Closes #13. Closes #14
deps