Added screenshot function and F2 as screenshot key [ci skip]