Started with screenshot stuff, but it's a lot more complicated than I thought it'd be