Improve spacing after text box in page
Fix centering in iFrame
Further improve logging, clean up unused code