backport text scaling stuff, new widget: Console, min_w and min_h can now be functions for dynamic bounds