for the error message, i am attaching an updated copy of the documetencoding.js file, copy it to the shared/webassist directory in the users configuration folder. For help locating the configuration folder, see the Common Installation Issue PDF:
common_installation_issues.pdf
you will also need to delete the cache file.
For the layout issue, please post a link where i can see the issue, to tell how to fix it, most likely the forms width is greater than the container element, but if I can see the problem in the browser, i can tell you how to fix it.