fixed #7, fixed #8

We get the correct display for the allowed max size and the allowed file
extensions.