Disable file upload on lobby and in closed rooms

The file upload button (and backing file upload control) is not disabled in the lobby and closed rooms.

File uploads succeed in closed rooms (though changes are not displayed) and the upload seems to be added to the room history.

Should fix issue #745