collision detection and screenshot

Worked on improving our collision detection and screenshot functions