fix insertion order on close_key
reintroduced (x more) message
resize surface to match window size