impl printScreen using persistent RAII buffer :) ; added input::callback to window::base