Update.

1.) Renamed print_jpg to capture_screenshot.
2.) Added a global switch to enable/disable functionality.