updated: made set_size and set_title more abstract and taught them to the Qt backend.