Allow taking screenshots of formspecs and move message to chat

Fixes https://github.com/minetest/minetest/issues/1653 and https://github.com/minetest/minetest/issues/1597