Fix bug 328. Simplify resizing by not recreating everything from scratch. This makes...