Implemented screenshot functionality.
Pressing the P key now saves a screenshot to res/pic/.