I moved the `_screenshot` function because it was causing circular imports. Makes more sense IMHO in `gloo` than `util` for now anyway.